import request from '@/utils/request';
export function areaChilds(data) {
  return request({
    url: '/appv2/api/index/areaChilds',
    method: 'post',
    data: data,
  });
}
// 获取省份信息
export function searchSchoolFilter(data) {
  return request({
    url: '/appv2/api/index/searchSchoolFilter',
    method: 'post',
    data: data,
  });
}
// 获取专业列表
export function allMajor(data) {
  return request({
    url: '/appv2/api/index/allMajor',
    method: 'post',
    data: data,
  });
}
// 获取职业列表
export function allCareer(data) {
  return request({
    url: '/appv2/api/index/allCareer',
    method: 'post',
    data: data,
  });
}
// 找大学
export function searchSchool(data) {
  return request({
    url: '/appv2/api/index/searchSchool',
    method: 'post',
    data: data,
  });
}
// 查专业
export function searchMajor(data) {
  return request({
    url: '/appv2/api/index/searchMajor',
    method: 'post',
    data: data,
  });
}
// 查职业
export function searchCareer(data) {
  return request({
    url: '/appv2/api/index/searchCareer',
    method: 'post',
    data: data,
  });
}

// 是否是高考版
export function getIsGKB(data) {
  return request({
    url: '/appv2/api/index/isGKB',
    method: 'post',
    data: data,
  });
}

// 专业库详情职业方向
export function getSearchMajorJob(data) {
  return request({
    url: '/appv2/api/index/searchMajorJob',
    method: 'post',
    data: data,
  });
}
// 专业筛选院校
export function getSearchMajorSchool(data) {
  return request({
    url: '/appv2/api/index/searchMajorSchool',
    method: 'post',
    data: data,
  });
}
